package com.order;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("1：国内业务    2：海外业务");
        int choice=0;
        System.out.println("请输入你的选择：");
        choice=sc.nextInt();
        OrderService orderService=null;
        switch (choice){
            case 1:
                orderService=new OrderServiceImpl();
                break;
            case 2:
                orderService=new OverseasServiceImpl();
                break;
        }
        orderService.creat();
        orderService.cancel();
        orderService.findList();
        orderService.findOne();
        orderService.finish();
        orderService.paid();
    }


}
